<%--
  Created by IntelliJ IDEA.
  User: g1555
  Date: 2019/3/9
  Time: 11:14
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
    <ul>
        <c:forEach items="${newsList}" var="news">
            <li>
                <a href="/news/${news.id}">${news.title}</a>
            </li>
        </c:forEach>
    </ul>
</body>
</html>
